﻿* Encoding: UTF-8.

********************************************************************SPSS REPLICATION COMMANDS******************************************************************** 
******************************************************************Michael C. Grillo and Juris Pupcenoks******************************************************************* 
********* "Let’s Intervene!  But Only If They’re Like Us: The Effects of Group Dynamics and Emotion on the Willingness to Support Humanitarian Intervention."*********


* NOTES:  All Analyses were conducted in IBM SPSS Statistics 23. 
*               The syntax commands cover all tables that appear in the article and supplemental document.  
*               All syntax commands are listed in the order that their respective tables are referenced in the article.  
*               The variable names in the Experiment 1 and Experiment 2 files are identical.



********************************* EXPERIMENT 1 TABLES (Please make sure that you are working from the Experiment 1 Data file) ************************************

* TABLE 1A (Supplemental Document): Percentage who Agree to Strongly Agree that the US should Intervene (E1) 
* We ran frequencies for each intervention variable and added the percentage of respondents who agreed or strongly agreed (values 4 and 5) for each variable.

FREQUENCIES VARIABLES=Intervene Intervene_Others_Do_So Intervene_UNSC_Approval 
    Intervene_Security_Interest Intervene_Economic_Interest Intervene_Regime_Change
  /ORDER=ANALYSIS.

* TABLE 2A (Supplemental Document): ANOVA Results for Experimental Conditions and Intervention Variables (E1)
* We ran separate ANOVAs for the experimental condition and each intervention variable and listed their F-test scores and p-values.  We also ran the Least Significant Difference (LSD) post hoc test. 

ONEWAY Intervene Intervene_Others_Do_So Intervene_UNSC_Approval Intervene_Security_Interest 
    Intervene_Economic_Interest Intervene_Regime_Change BY Condition
  /STATISTICS DESCRIPTIVES HOMOGENEITY 
  /MISSING ANALYSIS
  /POSTHOC=LSD ALPHA(0.05).

* TABLE 3A (Supplemental Document): Crosstabulation for Intervene to Protect Civilians and Experimental Condition (E1)

CROSSTABS
  /TABLES=Condition BY Intervene
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT COLUMN 
  /COUNT ROUND CELL.

* TABLE 3B (Supplemental Document): Crosstabulation for Intervene if UNSC Approves and Experimental Condition  (E1) 

CROSSTABS
  /TABLES=Condition BY Intervene_UNSC_Approval
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT COLUMN 
  /COUNT ROUND CELL.

* TABLE 1 (Article): Mediation Analysis Results for Christian Treatment, Negative Affect, and Intervention (E1)

* This procedure requires installing the attached PROCESS custom dialog. 
* The custom dialog does not have a paste feature like other SPSS procedures.  Therefore, we could not obtain syntax commands for the mediation analyses.  They need to be run manually.  

* Complete the steps below to install PROCESS, which will make it available in the graphical user interface (GUI) 

*                  Go to Utilities
*                  Select Custom Dialogs 
*                  Select Install Custom Dialog... 
*                  Select PROCESS file 
*                  Select open

* To access PROCESS in the GUI

*                 Go to Analyze
*                 Select Regression
*                 Select PROCESS, by Andrew F. Hayes 

* Once PROCESS is selected, complete the steps below to run the mediation analysis 

*                 Select 4 under Model Number (it should be the default) 
*                 Select Output and change decimal places to 3
*                 For Outcome Variable (Y) select SUM_Intervene_Intervene_UNSC_Approval
*                 For Independent Variable (X) select Condition1
*                 For M Variable(s) select Negative_Affect_Scale 
*                 For Covariate(s) select Age, Female_Dummy, White_Dummy, BAorHigher_Dummy, Christian_Dummy, Religiosity_Scale, and Ideology
*                 Click Okay

* TABLE 2 (Article): Mediation Analysis Results for Women & Children Treatment, Negative Affect, and Intervention w/ Interaction Effect (E1)

* To access PROCESS in the GUI

*                 Go to Analyze
*                 Select Regression
*                 Select PROCESS, by Andrew F. Hayes 

* Once PROCESS is selected, complete the steps below to run the mediation analysis 

*                 Select 5 under Model Number
*                 Select Options-->Output and change decimal places to 3
*                 For Outcome Variable (Y) select SUM_Intervene_Intervene_UNSC_Approval
*                 For Independent Variable (X) select Condition2
*                 For M Variable(s) select Negative_Affect_Scale 
*                 For Covariate(s) select Age, White_Dummy, BAorHigher_Dummy, Christian_Dummy, Religiosity_Scale, and Ideology
*                 For Proposed Modertor W select Female_Dummy
*                 Click Okay



*********************************** EXPERIMENT 2 TABLES (Please make sure that you are working from the Experiment 2 Data file) ***********************************


* TABLE 1B (Supplemental Document): Percentage who Agree to Strongly Agree that the US should Intervene (E2)
* We ran frequencies for each intervention variable and added the percentage of respondents who agreed or strongly agreed (values 4 and 5) for each variable.

FREQUENCIES VARIABLES=Intervene Intervene_Others_Do_So Intervene_UNSC_Approval 
    Intervene_Security_Interest Intervene_Economic_Interest Intervene_Regime_Change
  /ORDER=ANALYSIS.


* TABLE 2B ANOVA Results for Experimental Conditions and Intervention Variables (E2)
* We ran separate ANOVAs for the experimental condition and each intervention variable and listed their F-test scores and p-values.  We also ran the Least Significant Difference (LSD) post hoc test.

ONEWAY Intervene Intervene_Others_Do_So Intervene_UNSC_Approval Intervene_Security_Interest 
    Intervene_Economic_Interest Intervene_Regime_Change BY Condition
  /STATISTICS DESCRIPTIVES HOMOGENEITY 
  /MISSING ANALYSIS
  /POSTHOC=LSD ALPHA(0.05).

* TABLE 3C (Supplemental Document): Crosstabulation for Intervene if in Security Interest of US and Experimental Condition (E2)

CROSSTABS
  /TABLES=Condition BY Intervene_Security_Interest
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT COLUMN 
  /COUNT ROUND CELL.

* TABLE 4 (Supplemental Document): Mediation Analysis Results for Christian Treatment, Negative Affect, and Intervention (E2)

* To access PROCESS in the GUI

*                 Go to Analyze
*                 Select Regression
*                 Select PROCESS, by Andrew F. Hayes 

* Once PROCESS is selected, complete the steps below to run the mediation analysis 

*                 Select 4 under Model Number (it should be the default) 
*                 Select Options-->Output and change decimal places to 3
*                 For Outcome Variable (Y) select Intervene_Security_Interest  
*                 For Independent Variable (X) select Condition1
*                 For M Variable(s) select Negative_Affect_Scale 
*                 For Covariate(s) select Age, Female_Dummy, White_Dummy, BAorHigher_Dummy, Christian_Dummy, Religiosity_Scale, and Ideology
*                 Click Okay




